﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Gean.Data.Interface;

namespace Pansoft.ORM
{
    public class DataReaderProcessor<T>:IDataReaderProcess<T> where T:class
    {
        private bool _IsCollection;
        private Type _T;
        private DataReaderProcessor()
        {
            
        }

        public DataReaderProcessor(Type t, bool isCollection = false)
        {
            _IsCollection = isCollection;
            _T = t;
        } 

        #region Implementation of IDataReaderProcess<T>

        public virtual T Process(IDataReader data)
        {
            //TODO:
            return default(T);
        }

        #endregion
    }
}
